package com.molichuxing.services.infrastructure.bean;

import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class OrderStatusFlowBean extends RootBean {
    /**
     *  id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 订单状态 order_status
     */
    private Integer orderStatus;

    /**
     * 订单修改人id(系统修改则填写0) order_user_id
     */
    private Integer orderUserId;

    /**
     * 订单修改人名称(系统修改则填写system) order_user_name
     */
    private String orderUserName;

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户) order_modified_type
     */
    private Integer orderModifiedType;

    /**
     * 订单修改时间 order_modified_time
     */
    private LocalDateTime orderModifiedTime;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_order_status_flow
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @date 2019-08-16 15:52:34
     * @return id 
     */
    @Override
	public Integer getId() {
        return id;
    }

    /**
     * 
     * @date 2019-08-16 15:52:34
     * @param id 
     */
    @Override
	public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     * @date 2019-08-16 15:52:34
     * @return order_code 订单号
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     * @date 2019-08-16 15:52:34
     * @param orderCode 订单号
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 订单状态
     * @date 2019-08-16 15:52:34
     * @return order_status 订单状态
     */
    public Integer getOrderStatus() {
        return orderStatus;
    }

    /**
     * 订单状态
     * @date 2019-08-16 15:52:34
     * @param orderStatus 订单状态
     */
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 订单修改人id(系统修改则填写0)
     * @date 2019-08-16 15:52:34
     * @return order_user_id 订单修改人id(系统修改则填写0)
     */
    public Integer getOrderUserId() {
        return orderUserId;
    }

    /**
     * 订单修改人id(系统修改则填写0)
     * @date 2019-08-16 15:52:34
     * @param orderUserId 订单修改人id(系统修改则填写0)
     */
    public void setOrderUserId(Integer orderUserId) {
        this.orderUserId = orderUserId;
    }

    /**
     * 订单修改人名称(系统修改则填写system)
     * @date 2019-08-16 15:52:34
     * @return order_user_name 订单修改人名称(系统修改则填写system)
     */
    public String getOrderUserName() {
        return orderUserName;
    }

    /**
     * 订单修改人名称(系统修改则填写system)
     * @date 2019-08-16 15:52:34
     * @param orderUserName 订单修改人名称(系统修改则填写system)
     */
    public void setOrderUserName(String orderUserName) {
        this.orderUserName = orderUserName == null ? null : orderUserName.trim();
    }

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户)
     * @date 2019-08-16 15:52:34
     * @return order_modified_type 订单修改人员类型(1：C端用户，2：B端用户)
     */
    public Integer getOrderModifiedType() {
        return orderModifiedType;
    }

    /**
     * 订单修改人员类型(1：C端用户，2：B端用户)
     * @date 2019-08-16 15:52:34
     * @param orderModifiedType 订单修改人员类型(1：C端用户，2：B端用户)
     */
    public void setOrderModifiedType(Integer orderModifiedType) {
        this.orderModifiedType = orderModifiedType;
    }

    /**
     * 订单修改时间
     * @date 2019-08-16 15:52:34
     * @return order_modified_time 订单修改时间
     */
    public LocalDateTime getOrderModifiedTime() {
        return orderModifiedTime;
    }

    /**
     * 订单修改时间
     * @date 2019-08-16 15:52:34
     * @param orderModifiedTime 订单修改时间
     */
    public void setOrderModifiedTime(LocalDateTime orderModifiedTime) {
        this.orderModifiedTime = orderModifiedTime;
    }

    /**
     * 备注
     * @date 2019-08-16 15:52:34
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     * @date 2019-08-16 15:52:34
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 创建时间
     * @date 2019-08-16 15:52:34
     * @return gmt_create 创建时间
     */
    @Override
	public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2019-08-16 15:52:34
     * @param gmtCreate 创建时间
     */
    @Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 更新时间
     * @date 2019-08-16 15:52:34
     * @return gmt_modified 更新时间
     */
    @Override
	public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 更新时间
     * @date 2019-08-16 15:52:34
     * @param gmtModified 更新时间
     */
    @Override
	public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OrderStatusFlowBean other = (OrderStatusFlowBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
            && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus()))
            && (this.getOrderUserId() == null ? other.getOrderUserId() == null : this.getOrderUserId().equals(other.getOrderUserId()))
            && (this.getOrderUserName() == null ? other.getOrderUserName() == null : this.getOrderUserName().equals(other.getOrderUserName()))
            && (this.getOrderModifiedType() == null ? other.getOrderModifiedType() == null : this.getOrderModifiedType().equals(other.getOrderModifiedType()))
            && (this.getOrderModifiedTime() == null ? other.getOrderModifiedTime() == null : this.getOrderModifiedTime().equals(other.getOrderModifiedTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode());
        result = prime * result + ((getOrderUserId() == null) ? 0 : getOrderUserId().hashCode());
        result = prime * result + ((getOrderUserName() == null) ? 0 : getOrderUserName().hashCode());
        result = prime * result + ((getOrderModifiedType() == null) ? 0 : getOrderModifiedType().hashCode());
        result = prime * result + ((getOrderModifiedTime() == null) ? 0 : getOrderModifiedTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", orderStatus=").append(orderStatus);
        sb.append(", orderUserId=").append(orderUserId);
        sb.append(", orderUserName=").append(orderUserName);
        sb.append(", orderModifiedType=").append(orderModifiedType);
        sb.append(", orderModifiedTime=").append(orderModifiedTime);
        sb.append(", remark=").append(remark);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}